<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<!-- Bootstrap -->
<link href="${pageContext.request.contextPath}/javascript/bootstrap/css/bootstrap.css" rel="stylesheet">
<script src="${pageContext.request.contextPath}/javascript/jQuery-1.12.4.js"></script>
<script src="${pageContext.request.contextPath}/javascript/bootstrap/js/bootstrap.js"></script>
<body>

    <!--主容器-->
    <div class="container-fluid">

        <div class="row">
            <!--导航栏-->
            <div class="col-lg-12">
                <nav class="navbar navbar-default">
                    <div class="container-fluid">
                        <div class="navbar-header">
                            <a class="navbar-brand" href="#">
                                <img alt="Brand" src="javascript/img/logo.png" width="200px" height="28.6px">
                            </a>
                        </div>

                        <p class="navbar-text navbar-right">[当前在线人数 : ${onlineUser}&nbsp;当前登陆人数 : ${loginUser}]&nbsp;&nbsp;<b>[${loginName}]</b>&nbsp;<a href="outLogin" class="navbar-link">退出系统</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
                    </div>
                </nav>
            </div>

            <!--菜单栏[左] 显示栏[右]-->
            <div class="col-lg-12">
                <!--左-->
                <div class="col-lg-2">
                    <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
                        <div class="panel panel-default">
                            <div class="panel-heading" role="tab" id="headingOne">
                                <h4 class="panel-title">
                                    <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
                                        商品管理
                                    </a>
                                </h4>
                            </div>
                            <div id="collapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
                                <div class="panel-body">
                                    <a class="btn btn-default btn-block" href="${pageContext.request.contextPath}/admin/products/seachProduct.jsp" target="showAll">显示商品</a>
                                    <a class="btn btn-default btn-block" href="${pageContext.request.contextPath}/admin/products/productServlet?op=readyAddProduct" target="showAll">添加商品</a>
                                </div>
                            </div>
                        </div>
                        <div class="panel panel-default">
                            <div class="panel-heading" role="tab" id="headingTwo">
                                <h4 class="panel-title">
                                    <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
                                        类别管理
                                    </a>
                                </h4>
                            </div>
                            <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
                                <div class="panel-body">
                                    <a class="btn btn-default btn-block" href="${pageContext.request.contextPath}/admin/categorys/searchCategorys.jsp" target="showAll">显示类别</a>
                                    <a class="btn btn-default btn-block" href="${pageContext.request.contextPath}/admin/categorys/addCategory.jsp" target="showAll">添加类别</a>
                                </div>
                            </div>
                        </div>
                        <div class="panel panel-default">
                            <div class="panel-heading" role="tab" id="headingThree">
                                <h4 class="panel-title">
                                    <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
                                        供应商管理
                                    </a>
                                </h4>
                            </div>
                            <div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
                                <div class="panel-body">
                                    <a class="btn btn-default btn-block" href="${pageContext.request.contextPath}/admin/providers/searchProviders.jsp" target="showAll">显示供应商</a>
                                    <a class="btn btn-default btn-block" href="${pageContext.request.contextPath}/admin/providers/addProvider.jsp" target="showAll">添加供应商</a>
                                </div>
                            </div>
                        </div>
                        <div class="panel panel-default">
                            <div class="panel-heading" role="tab" id="headingFour">
                                <h4 class="panel-title">
                                    <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseFour" aria-expanded="false" aria-controls="collapseThree">
                                        订单管理
                                    </a>
                                </h4>
                            </div>
                            <div id="collapseFour" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
                                <div class="panel-body">
                                    <a class="btn btn-default btn-block" href="${pageContext.request.contextPath}/admin/orders/showAllOrders.jsp" target="showAll">显示订单</a>
                                    <a class="btn btn-default btn-block" href="${pageContext.request.contextPath}/admin/orders/addOrder.jsp" target="showAll">添加订单</a>
                                </div>
                            </div>
                        </div>
                        <div class="panel panel-default">
                            <div class="panel-heading" role="tab" id="headingFives">
                                <h4 class="panel-title">
                                    <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseFives" aria-expanded="false" aria-controls="collapseFives">
                                        文件管理
                                    </a>
                                </h4>
                            </div>
                            <div id="collapseFives" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingFives">
                                <div class="panel-body">
                                    <a class="btn btn-default btn-block" href="${pageContext.request.contextPath}/admin/files/showAllFile.jsp" target="showAll">显示所有文件</a>
                                    <a class="btn btn-default btn-block" href="${pageContext.request.contextPath}/admin/files/upfile.jsp" target="showAll">上传文件</a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <!--右-->
                <div class="col-lg-10">
                    <div class="container-fluid" style="height:800px;width:100%;">
                        <iframe name="showAll" frameborder="0" scrolling="no" height="100%" width="100%"></iframe>
                    </div>
                </div>

            </div>


        </div>


    </div>

</body>
</html>